package com.dao.system;

import com.domain.system.Role;

import java.util.List;

public interface RoleDao {

    List<Role> findAll(String companyId);

    Integer save(Role role);

    Role findById(String id);

    Integer update(Role role);

    Integer delete(String id);

    List<Role> findRoleById(String id);
}
